package br.com.commerj.controller;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;


@ManagedBean(name="MBPessoa")
public class ManagedBeanPessoa {
	
	
	public void sayHello(){
		FacesContext context =  FacesContext.getCurrentInstance();
		context.addMessage("formulario", new FacesMessage("Say Hello! =D"));
	}
	
	
}
